package com.aaa.moneymanage.services;

import com.aaa.entity.CareHistory;
import com.aaa.entity.CareOrderItem;
import com.aaa.vo.Result;

import java.util.List;

/**
 * @author ：XiaoXuan
 * @date ：Created in 2023/3/22 17:08
 * @description：
 * @modified By：
 */
public interface CareHistoryServices {

    //处方收费
    Result getOneByRegId(String regId);

    //处方退费
    Result BackFeeByRegId(String regId);

    //处方发药
    Result dispensingByRegId(String regId);

    //获得CareHistory通过regId
    CareHistory getCareHistoryByRegId(String regId);

    //获得CareOrderItem通过regId
    List<CareOrderItem> getCareOrderItemByRegId(String regId);

    //修改药方表（his_care_order_item）状态
    boolean updateTheStatus(String itemId,String status);

    //修改药方表（his_order_charge_item）状态
    boolean updateOrderChargeItemStatus(String itemId,String status);

    //修改收费查询表item表状态根据regid
    String updateOrderChargeItemStatusByRegId(String regId);

}
